package com.me.dao.builder;

import java.math.BigDecimal;

import com.me.dao.entity.DbPeopleModel;

/**
 * 功能：
 *
 * @author：dongshibo(F_baisi)
 * @create：2019/1/24/024 11:49
 * @version：2019 Version：1.0
 * @company：老屋新房 Created with IntelliJ IDEA
 */
public class DbPeopleModelBuilder extends DbPeopleModel {
	private static final String Db_NAME = "大斌";//名称
	private static final Integer Db_AGE = 21;//年龄
	private static final String Db_PLAY = "全境封锁";//玩
	private static final Integer Db_SEX = 1;//性别 男
	private static final Double Db_PRICE = 1000d;//身价
	private static final Double Db_HIGH = 1.78d;//身高

	public DbPeopleModelBuilder() {
		this.age=Db_AGE;
		this.name=Db_NAME;
		this.play=Db_PLAY;
		this.price=new BigDecimal(Db_PRICE);
		this.sex=Db_SEX;
	}

	public DbPeopleModelBuilder(String play) {
		super(play);
	}

	public DbPeopleModelBuilder(Integer sex, BigDecimal price, String play) {
		super(sex, price, play);
	}

	public DbPeopleModelBuilder(String name, Integer age, Integer sex, BigDecimal price, String play) {
		super(name, age, sex, price, play);
	}


	@Override
	public String toString() {
		return "DbPeopleModelBuilder{" +
				"play='" + play + '\'' +
				", sex=" + sex +
				", price=" + price +
				", name='" + name + '\'' +
				", age=" + age +
				'}';
	}
}
